package Excercise;

public class Ex01_Q09 {

	
	public static void main(String[] args) {
		
		System.out.print("May 13, 1988 fell on day number");
		System.out.println( ((13+(13*3-1)/5 + 1988  % 100 + 1988 % 100/4+1988/400-2*(1988/100))%7+7)%7);
		//System.out.println();는 단순하게 문자열을 출력하는데에, 사용할수 있지만
		//수식을 실행하고 그 결과를 출력하는데에도 사용
		
		System.out.print("Check out this line");
		System.out.println("//hello there"+'9'+7);
		System.out.print('H'+'I'+"is" + 1 + "more example");
		System.out.print('H' + 6.5 + 'I' + "is" + 1 + "more example");
		
		System.out.print("Print both of us" + "Me too"); // 올바른 예
		//System.out.print("Print both of us" , "Me too"); 잘못쓴 예
		
		System.out.print("Reverse" + 'I' + 'T');
		System.out.print("No! Here is"+1+"more example");
		
		System.out.println("Here is"+10*10);//that`s 100; 올바른 예
		//System.out.println("Here is"+10*10))//that`s 100; 잘못쓴 예
		
		System.out.println("Not x is" + true);//that`s true.
		
		//System.out.print(); //오류 발생, 출력 내용이 없음
		
		System.out.println(); //허용 , 줄바꿈만 출력
		
		//System.out.println; //오류, 문법적으로 틀림
		
		System.out.println("How about this one" + '?' + "Huh?"); //올바른 예
		//System.out.println("How about this one" ++ '?' + 'Huh?'); //잘못쓴 예

	}

}
